package Beans;

public enum Status {
    New("new",1),
    Ready("ready",2),
    Running("running",3),
    Waiting("waiting",4);


    private String name;
    private int value;

    Status(String name, int value) {
        this.name = name;
        this.value = value;
    }

    public String getName() {
        return name;
    }

    public int getValue() {
        return value;
    }

    public void setName(String name){
        this.name = name;
    }

    public void setValue(int value) {
        this.value = value;
    }
}
